package org.bintrotter.tracker;

import org.bintrotter.afiles.Files;
import org.bintrotter.metafile.Metafile;

public class StopRequest  extends UpdateRequest {

	public StopRequest(Metafile mf, long uploaded, long downloaded, long left, int target_ready_sockets)
			throws Throwable {
		super(mf, uploaded, downloaded, left, target_ready_sockets);
	}

	public StopRequest(Files files, int target_ready_sockets) throws Throwable {
		
		super(files.metafile,0/*files.bytesDownloaded()*/, 0/*files.bytesDownloaded()*/, 0/*files.bytesRemaining()*/, target_ready_sockets);
	}
	
	protected String event()
	{
		return "stopped";
	}
}
